:root {
    --title-font-size: 7.5vmin;
    --normal-font-size: 5.3vmin;
    --middle-font-size: 4.9vmin;
    --small-font-size: 4vmin;
    --mini-font-size: 3.35vmin;
    --main-color: #6b61ad;
    --exchange-dash-color: #8176c5;
    --exchange-card-color: #D4D3F1;
    --simple-color: #efeefc;
    --dark-color: #2d0a62;
    --light-color: #542798;
    --timeline-bg-color: #aea7ec;
    --invited-outside-color: #beb9fc;
    --invited-inset-color: #e8e8ff;
    --box-shadow-color: rgba(107, 97, 173, 0.5);
    --gamecenter-item-desc-color: #DDC4FC;
    --gamecenter-item-btn-bg-color: #390c75;
    --inviter-main-color: var(--main-color);
    --inviter-input-color: #e9e9ec;
    --trophy-box-shadow: drop-shadow(0vmin .5vmin 0vmin #D54F00)
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
    // background: url(../imgs/bg.png) no-repeat center center;
    background-size: 100% 100%;
    background-attachment: fixed;
}

.ad-wrapper {
    width: 100%;
    text-align: center;
    font-size: var(--s-fontsize);
    margin: 5px auto;
    background-color: #ffffff;
    max-width: 650px;
    border-top: 1vmin solid var(--main-color);
    border-bottom: 1vmin solid var(--main-color);
    box-shadow: 0px 0px 1.5vmin 0.5vmin #bbbbc9;

    &>div {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.play-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64vmin;
    height: 12vmin;
    background: #ffffff;
    border-radius: 6vmin;
    box-shadow: 0px 0px 1vmin #747474;
    margin-left: auto;
    margin-right: auto;
}

.text {
    font-size: var(--normal-font-size);
    color: var(--sub-color);
    line-height: 1.5;
    font-weight: bold;
}

.disable {
    pointer-events: none;
    background-color: #a6a6a6 !important;
}

.repeat {
    background-color: #FD5D19 !important;
}

.orange {
    color: #FD5D19;
}

.yellow-text {
    color: rgba(255, 167, 0, 0.84);
}

.red-text {
    color: #E94618;
}

/* ad tips corner */
.click-ad::before {
    content: 'AD';
    position: absolute;
    top: .1vmin;
    right: .3vmin;
    font-size: 12px;
    width: 7vmin;
    padding: .1rem .2rem 0 .2rem;
    color: #ffffff;
}

@mixin public-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--normal-font-size);
    width: 100%;
}

.card {
    position: relative;
    margin: 1vmin 3vmin;

    &-title {
        @include public-title;
        padding-left: 2vmin;
        height: 11.5vmin;
    }

    &-main ul li {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 12vmin;
    }
}

.box {
    position: relative;

    .card-title {
        padding-left: 5vmin !important;
        padding-right: 3vmin;
    }

    &-more {
        position: absolute;
        top: 50%;
        right: 4vmin;
        transform: translateY(-50%);
        font-size: var(--small-font-size);
        padding-right: 5vmin;
        z-index: 9;

        &::before {
            content: '';
            position: absolute;
            top: 50%;
            right: 2vmin;
            transform: translateY(-50%) rotate(45deg);
            width: 1.5vmin;
            height: 1.5vmin;
            border-top: 1px solid #1d1d1f;
            border-right: 1px solid #1d1d1f;
        }
    }

    &-title {
        @include public-title;
        padding-left: 5vmin;
        padding-right: 3vmin;
        height: 11vmin;
    }

    &-tips {
        font-size: var(--mini-font-size);
    }
}

@keyframes insetDiffuse {
    0% {
        box-shadow: 0px 0px 0px 0px rgba(107, 97, 173, 1)
    }

    100% {
        box-shadow: 0px 0px 0px 5vmin rgba(107, 97, 173, 0)
    }
}

@keyframes move {
    0% {
        transform: perspective(500px) translate3d(0, 0, 0);
        filter: drop-shadow(0vmin 0vmin .1vmin #797979);
    }

    100% {
        transform: perspective(500px) translate3d(0, 0, 20vmin);
        filter: drop-shadow(0vmin 1vmin .5vmin #797979);
    }
}

@keyframes rotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(180deg);
    }

}

@keyframes diffuse {
    0% {
        transform: scale(1);
        box-shadow: 0px 0px 0px 0px rgba(107, 97, 173, 1)
    }

    25% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0px 0px 0px 5vmin rgba(107, 97, 173, 0)
    }
}

.game-normal-bg {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}